package circle;

public class yuan {
            
	double h=1,r=0.5;

public yuan(double h,double r) {
	 
	this.h=h;
	this.r=r;
}

public double area() {
	
	double s;
	s=r*r*3.14*2+2*3.14*r*h;
	return s;
}
public double VV() {
	
	double v=r*r*3.14*h;
	return v;
}


}